<?php

$opts['tb'] = $PACTS_cfg->titletablename;

// Name of field which is the unique key
$opts['key'] = 'Title';

// Type of key field (int/real/string/date etc.)
$opts['key_type'] = 'string';

// Sorting field(s)
$opts['sort_field'] = array('Title');

// Number of records to display on the screen
// Value of -1 lists all records in a table
$opts['inc'] = 300;

$opts['fdd']['Title'] = array(
  'name'     => 'Abbreviated Title',
  'select'   => 'T',
  'maxlen'   => 4,
  'default'  => 'PRI',
  'required' => true,
  'sort'     => true
);
$opts['fdd']['Description'] = array(
  'name'     => 'Unabbreviated Title',
  'select'   => 'T',
  'maxlen'   => 30,
  'required' => true,
  'sort'     => true
);

new phpMyEdit($opts);

?>

